Internal resistance of a cell explained